package com.penjin.android.domain;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 工作流程 表单
 * Created by Administrator on 2016/3/22.
 */
public class PenjinWorkflowForm implements Parcelable {
    public String auditId;

    public String billNumber;
    public String billSort;
    public String billName;
    public String billDate;//申请单提交时间

    public String staffName;
    public String staffNumber;
    public String stafffAvatar;
    public String time;//申请单内容中包括的时间段

    public String info;

    public PenjinWorkflowForm() {

    }

    protected PenjinWorkflowForm(Parcel in) {
        auditId = in.readString();
        billNumber = in.readString();
        billSort = in.readString();
        billName = in.readString();
        billDate = in.readString();
        staffName = in.readString();
        staffNumber = in.readString();
        stafffAvatar = in.readString();
        time = in.readString();
        info = in.readString();
    }

    public static final Creator<PenjinWorkflowForm> CREATOR = new Creator<PenjinWorkflowForm>() {
        @Override
        public PenjinWorkflowForm createFromParcel(Parcel in) {
            return new PenjinWorkflowForm(in);
        }

        @Override
        public PenjinWorkflowForm[] newArray(int size) {
            return new PenjinWorkflowForm[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(auditId);
        dest.writeString(billNumber);
        dest.writeString(billSort);
        dest.writeString(billName);
        dest.writeString(billDate);
        dest.writeString(staffName);
        dest.writeString(staffNumber);
        dest.writeString(stafffAvatar);
        dest.writeString(time);
        dest.writeString(info);
    }
}
